package com.py.behavior.controller;

import com.py.behavior.servicer.BhUnLikesService;
import com.py.model.behavior.dtos.UnLikesBehaviorDto;
import com.py.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName BhUnLikesController
 * @Description TODO
 * @Author AXing
 * @Date 2022/11/17 0:38
 * @Version 1.0
 */
@RestController
@RequestMapping("/api/v1")
public class BhUnLikesController {

    @Autowired
    private BhUnLikesService bhUnLikesService;

    @PostMapping("/un_likes_behavior")
    public ResponseResult unLikeBehavior(@RequestBody UnLikesBehaviorDto dto){
        return bhUnLikesService.unLikesBehavior(dto);
    }
}
